# !/usr/bin/env python
# -*- coding: utf-8 -*-
# ///////////////////////////////////////////////////////////////
# @File    :   getImageTipData.py
# @Time    :   2024/08/30 17:18:35
# @Author  :   kai.luo
# @Version :   1.0.0
# @Desc    :   None
# ///////////////////////////////////////////////////////////////

class TipData():
    def __init__(self) -> None:
        pass

    def getTip(self, data: list):
        tip_str = ''
        isSkip = True
        for index, item in enumerate(data):
            text = item[1][0]
            if '提示：' in text and isSkip:
                isSkip = False
                continue
            else:
                if not isSkip:
                    tip_str += text

        return tip_str
